package com.daiTest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.daiTest.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper extends BaseMapper<User> {
    //自己定一个根据年龄查询，并且分页的方法
    IPage<User> queryByAge(IPage<User>page,@Param("age") Integer age);
}
